package net.huashitong.ssydt.provider.pk.mapper;


import net.huashitong.ssydt.base.dao.LongMapper;
import net.huashitong.ssydt.pk.entity.SsPkYzddMatchRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SsPkYzddMatchRecordMapper extends LongMapper<SsPkYzddMatchRecord> {

    /**
     * 获取非历史对象
     *
     * @return
     */
    SsPkYzddMatchRecord getNotHistory();

    /**
     * @param matchRecordId
     * @return
     */
    Long getLastMatchRecordId(Long matchRecordId);

    List<SsPkYzddMatchRecord> findNonFinal(Long matchRecordId);
}